<?php
namespace app\admin\validate;

use think\Validate;

class BannerValidate extends Validate
{
    protected $rule = [
        ['thumbnail', 'require', '图片不能空'],
        ['bannerurl', 'require', 'banner连接不能为空'],
    ];

}